package com.lzy.cloud.goods.remote;

import com.lzy.framework.core.output.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author lc
 * @version 2018/8/13
 */
@FeignClient(name = "lzy-cloud-base")
public interface BaseApi {

    @RequestMapping(value = "/base/user/token",method = RequestMethod.GET)
    Result isUserLogin(@RequestHeader("token") String token );
}
